package com.huike.po;

//import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.gson.annotations.Expose;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
//import org.springframework.format.annotation.DateTimeFormat;



public class p2pMessage implements Serializable {
    @Expose
    private String msgFrom = "";
    @Expose
    private String msgTo = "";
    @Expose
    private String msgContent = "";
    @Expose
    private String msgClient = "";
    @Expose
    private String msgType = "file";
    @Expose
    private String msgTime;
    private byte[] fileBytes; //返回文件，保留字段

    private int msgTypeId;

    private int msgClientId;


    public String getMsgFrom() {
        return msgFrom;
    }

    public void setMsgFrom(String msgFrom) {
        this.msgFrom = msgFrom;
    }

    public String getMsgTo() {
        return msgTo;
    }

    public void setMsgTo(String msgTo) {
        this.msgTo = msgTo;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public String getMsgClient() {
        return msgClient;
    }

    public void setMsgClient(String msgClient) {
        this.msgClient = msgClient;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getMsgTime() {
        return msgTime;
    }

    public void setMsgTime(String msgTime) {
        this.msgTime = msgTime;
    }

    public int getMsgTypeId() {
        return msgTypeId;
    }

    public void setMsgTypeId(int msgTypeId) {
        this.msgTypeId = msgTypeId;
    }

    public int getMsgClientId() {
        return msgClientId;
    }

    public void setMsgClientId(int msgClientId) {
        this.msgClientId = msgClientId;
    }

    public byte[] getFileBytes() {
        return fileBytes;
    }

    public void setFileBytes(byte[] fileBytes) {
        this.fileBytes = fileBytes;
    }
}
